package com.weishu.core.mapper;

import com.weishu.core.entity.BusinessEntity;
import com.weishu.core.entity.TbBusiness;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 商户表 Mapper 接口
 * </p>
 *
 * @author zgx
 * @since 2021-10-19
 */
@Mapper
public interface TbBusinessMapper extends BaseMapper<BusinessEntity> {

    List<BusinessEntity> listAll();

    void updateStatusById(Integer id);

    void updateStatusById2(Integer id);

    void add(BusinessEntity businessEntity);
}
